home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
os20
/
cli
/
toggleprt.lha
/
TogglePrt
< prev
next >
Wrap
Text File
|
1980-01-04
|
540b
|
26 lines
;* TogglePrt AmigaDOS script by Brian J. Cerveny
;* Change GPFax.pre and Normal.pre to preset files of your choice.
;* (See documentation for details.)
;*** Test if fax driver active
If $fax EQ 1
Skip Normal
EndIf
;*** Fax driver not active, enable
echo "Loading fax driver."
SYS:Prefs/printer FROM SYS:Prefs/Presets/GPFax.pre USE
SetENV fax 1
Skip Exit
;*** Fax driver active, return to normal printer
Lab Normal
echo "Loading standard printer driver."
SYS:Prefs/printer FROM SYS:Prefs/Presets/Normal.pre USE
SetENV fax 0
Lab Exit